package com.sp.dao.mapper.interfaces;


import com.sp.dao.mapper.bo.UaStaff;
import com.sp.dao.mapper.bo.UaStaffExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UaStaffMapper {
    long countByExample(UaStaffExample example);

    int deleteByExample(UaStaffExample example);

    int deleteByPrimaryKey(Long staffId);

    int insert(UaStaff record);

    int insertSelective(UaStaff record);

    List<UaStaff> selectByExample(UaStaffExample example);

    UaStaff selectByPrimaryKey(Long staffId);

    int updateByExampleSelective(@Param("record") UaStaff record, @Param("example") UaStaffExample example);

    int updateByExample(@Param("record") UaStaff record, @Param("example") UaStaffExample example);

    int updateByPrimaryKeySelective(UaStaff record);

    int updateByPrimaryKey(UaStaff record);
}